import reuquest from '@/utils/request.js'

// 认证列表
export const userIdentityListApi = (data = {}, options = { loading: false }) => {
	return reuquest.get('/apiapp/v1/user_identity/list', data, options)
}

// 认证详情
export const userIdentityDetailsApi = (id, data = {}, options = { loading: false }) => {
	return reuquest.get(`/apiapp/v1/user_identity/details?agent_gid=${id}`, data, options)
}

// 提交认证
export const userIdentitySetApi = (data = {}, options = { loading: false }) => {
	return reuquest.post('/apiapp/v1/user_identity/set_identity', data, options)
}
